package com.example.timetable.fragments;



import android.content.Context;

import android.os.Bundle;


import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;


import com.alibaba.android.arouter.launcher.ARouter;

import com.example.timetable.R;

import java.util.Calendar;

import butterknife.ButterKnife;
import butterknife.OnClick;


public class LeftDrawer extends Fragment {

    Context context;
    Calendar currentTime=Calendar.getInstance();
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {

        View view=inflater.inflate(R.layout.fragment_left_drawer, container, false);
        ButterKnife.bind(this,view);
        context=view.getContext();
        return view;
    }
    @OnClick(R.id.go_to_class_alert)
    public void onClickGoToClassAlert(){
        ARouter.getInstance().build("/TimeTable/GoToClassAlert").navigation();
    }
    @OnClick(R.id.Count_down)
    public void onClickCountDown(){
        ARouter.getInstance().build("/TimeTable/CountDowm").navigation();
    }
    @OnClick(R.id.my_goal)
    public void onClickMyGoal(){
        ARouter.getInstance().build("/TimeTable/MyGoal").navigation();
    }
    @OnClick(R.id.my_score)
    public void onClickMyScore(){
        ARouter.getInstance().build("/TimeTable/MyScore").navigation();
    }
    @OnClick(R.id.about)
    public void onClickAbout(){
        ARouter.getInstance().build("/TimeTable/About").navigation();
    }

    public void insert(int i, String cla, String loca, String tea, String zhous, String zhoue,
                       String jies, String jiee, String time1, String time2, String which, String color) {
    }
}
